#include "StdAfx.h"
#include "ConsoleForm.h"

using namespace particleEditorCli;

ConsoleForm::ConsoleForm(void)
{
	InitializeComponent();
	mInstance = this;
}

		
ConsoleForm^ ConsoleForm::Instance::get()
{
	return mInstance;
}

ConsoleForm::~ConsoleForm()
{
	if (components)
	{
		delete components;
	}
}
	

void ConsoleForm::InitializeComponent(void)
{
	this->dataGridView1 = (gcnew System::Windows::Forms::DataGridView());
	(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->dataGridView1))->BeginInit();
	this->SuspendLayout();
	// 
	// dataGridView1
	// 
	this->dataGridView1->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
	this->dataGridView1->Dock = System::Windows::Forms::DockStyle::Fill;
	this->dataGridView1->Location = System::Drawing::Point(0, 0);
	this->dataGridView1->Name = L"dataGridView1";
	this->dataGridView1->Size = System::Drawing::Size(284, 262);
	this->dataGridView1->TabIndex = 0;
	// 
	// ConsoleForm
	// 
	this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
	this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
	this->ClientSize = System::Drawing::Size(284, 262);
	this->Controls->Add(this->dataGridView1);
	this->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
		static_cast<System::Byte>(0)));
	this->HideOnClose = true;
	this->Name = L"ConsoleForm";
	this->Text = L"ConsoleForm";
	(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->dataGridView1))->EndInit();
	this->ResumeLayout(false);

}